
import 'package:flutter/material.dart';
class MinePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: new Scaffold(
        body: new Center(
//            child:new Text("mine"),
            child: new RaisedButton(
              onPressed: () {
                Navigator.of(context).pushNamed("/home");
              },
              child: new Text("点我跳转"),
              color: Colors.blue,
              highlightColor: Colors.lightBlue,
            ),
        ),
      ),
    );
  }
}